package cn.pxs.entity;

import java.util.List;

//用户 及 订单组合
public class  UserOrdInfo {
    private User user; //用户
    private List<OrdInfo> ords;//订单 信息

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<OrdInfo> getOrds() {
        return ords;
    }

    public void setOrds(List<OrdInfo> ords) {
        this.ords = ords;
    }

    @Override
    public String toString() {
        return "UserOrdInfo{" +
                "user=" + user +
                ", ords=" + ords +
                '}';
    }
}
